.home-container {
    min-height: 100vh;
    background: url('../images/1.jpg') center/cover no-repeat fixed;
    position: relative;
}

/* 轮播图样式 */
.carousel-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    position: relative;
}

.carousel {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background: #fff;
}

.welcome-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.welcome-text h1 {
    font-size: 3rem;
    margin: 0;
}

/* 快捷导航按钮样式 */
.quick-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    margin-top: 2rem;
}

.nav-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 150px;
}

.nav-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-button i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.nav-button span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* 图标样式 */
.icon-comment::before { content: "💬"; }
.icon-food::before { content: "🍜"; }
.icon-tourism::before { content: "🏯"; }
.icon-shopping::before { content: "🛍️"; }

/* 响应式设计 */
@media (max-width: 768px) {
    .carousel {
        height: 300px;
    }

    .welcome-text h1 {
        font-size: 2rem;
    }

    .quick-nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-button {
        width: calc(50% - 1rem);
        padding: 1rem;
    }
}
